
export interface equipmentResopne {
    id: number,
    name: string,
    type: number
}


export interface algorithmResopne {
    id: number,
    name: string,
    type: number
}

export interface noteResopne {
    noteId: number,
    entityId: number,
    type: number,
    algorithmId: number,
    algorithmName: string,
    algorithmType: number,
    equipmentId: number,
    equipmentName: string,
    equipmentType: number,
    content: string,
    dak: number,
}

export interface entityRespone {
    entity: {
        id: number;
        name: string,
        pointId: number,
        projectId: number
    },
    note: noteResopne
}

export interface projectListResponse {
    userId: number;
    username: string;
    projectList: {
        [idx: number]: string
    }[]
}

export interface staffMenusResponse {
    id: number;
    name: string;
    username: string;
    roles: Array<number>
}

export interface projectMenuRespones {
    id: number;
    tires: {
        id: number;
        name: string;
        tierTotalScore: number;
        points: {
            id: number;
            name: string;
            pointWeight: number;
            pointRisky: number,
            entities: {
                id: number,
                name: string
            }[]
        }[]
    }[]
}